package stu.khy.service;

import java.util.Date;

import stu.khy.entity.Employee;
import stu.khy.entity.Leave;
import stu.khy.util.PaginationSupport;


public interface LeaveService {
	public void saveLeave(Leave leave);

	public PaginationSupport<Leave> getClaimVoucherPage(Employee emp,
			Leave leave, Date startDate, Date endDate, Integer pageNo,
			Integer pageSize);
	
	public Leave findLeaveById(Long id);
	
	public void checkLeave(Leave leave);
}
